From 425deda2be024274efbd34d08c1d1da262b6bb7d Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Wilmet?= Date: Mon, 5 Aug 2013 20:37:54 +0200 Subject: [PATCH] Improve doc of gtk_text_tag_table_remove() It's obvious, but it's better to say it. https://bugzilla.gnome.org/show_bug.cgi?id=705529 --- gtk/gtktexttagtable.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c index 6c9e500c5d..571fdf8dcb 100644 --- a/gtk/gtktexttagtable.c +++ b/gtk/gtktexttagtable.c @@ -310,10 +310,11 @@ gtk_text_tag_table_lookup (GtkTextTagTable *table, * gtk_text_tag_table_remove: * @table: a #GtkTextTagTable * @tag: a #GtkTextTag - * - * Remove a tag from the table. This will remove the table's - * reference to the tag, so be careful - the tag will end - * up destroyed if you don't have a reference to it. + * + * Remove a tag from the table. If a #GtkTextBuffer has @table as its tag table, + * the tag is removed from the buffer. The table's reference to the tag is + * removed, so the tag will end up destroyed if you don't have a reference to + * it. **/ void gtk_text_tag_table_remove (GtkTextTagTable *table, -- 2.30.2